﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Niaofei.Repository
{
    /// <summary>
    /// 数据库上下文提供者
    /// </summary>
    public interface IDbContextProvider<TDbContext> where TDbContext : DbContext
    {
        Task<TDbContext> GetDbContextAsync();
    }
}
